package top.hg.tool;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@MapperScan("top.hg.tool.**")  //配置mapper扫描
@Slf4j
@EnableScheduling
public class HgToolApplication {

    public static void main(String[] args) {
        log.info("**********hg-tool开始启动**********");
        SpringApplication.run(HgToolApplication.class, args);
        log.info("**********hg-tool启动成功**********");
    }

}
